package com.ihrm.employee.mapper;

import com.ihrm.domain.employee.EmployeeTransferPosition;
import com.ihrm.domain.employee.EmployeeTransferPositionExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface EmployeeTransferPositionMapper {
    int countByExample(EmployeeTransferPositionExample example);

    int deleteByExample(EmployeeTransferPositionExample example);

    int deleteByPrimaryKey(String userId);

    int insert(EmployeeTransferPosition record);

    int insertSelective(EmployeeTransferPosition record);

    List<EmployeeTransferPosition> selectByExample(EmployeeTransferPositionExample example);

    EmployeeTransferPosition selectByPrimaryKey(String userId);

    int updateByExampleSelective(@Param("record") EmployeeTransferPosition record, @Param("example") EmployeeTransferPositionExample example);

    int updateByExample(@Param("record") EmployeeTransferPosition record, @Param("example") EmployeeTransferPositionExample example);

    int updateByPrimaryKeySelective(EmployeeTransferPosition record);

    int updateByPrimaryKey(EmployeeTransferPosition record);

    EmployeeTransferPosition findByPrimaryKey(String userId);
}